package com.wzy.service.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wzy.service.base.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author wuzhengyu
 * @since 2021-03-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="UserInformation对象", description="")
public class UserInformation extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "用户等级")
    private Integer level;

    @ApiModelProperty(value = "用户个签")
    private String signature;

    @ApiModelProperty(value = "头像")
    private String profile;

    @ApiModelProperty(value = "学历")
    private String educationalBackground;

    @ApiModelProperty(value = "角色")
    private String role;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    @TableField("is_deleted")
    private Integer deleted;


}
